from django.conf.urls.defaults import *

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    # Example:
    # (r'^GtapV3/', include('GtapV3.foo.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),

   
     
    # MainPage of GtapV3 when entering hostname+'/'
      (r'^$', 'gtap.views.mainPage'),
      
    # Uncomment the next line to enable the admin:
      (r'^admin/', include(admin.site.urls)),
            
    # OAuthPage of GtapV3
      (r'^oauth/', 'gtap.views.oauthPage'),
      
    # if not admin/oauth, go direct to mainPage
      (r'^', 'gtap.views.mainPage'),
      
      
)
     
